package test;


import org.junit.Test;
import static org.junit.Assert.*;

import utilities.Image;
import utilities.TextureDecoder;

import java.util.ArrayList;

public class TexLoad_unit {
    @Test
    public void test1(){
        ArrayList<Image> spr = null;
        spr = TextureDecoder.LoadSprites("src/test/demo_tex", ".png", 1);
        assertTrue("SpriteSeries creation failed",spr != null);
        assertEquals(spr.get(0).height, 512);
        assertEquals(spr.get(0).width, 512);

    }
}
